<?php

namespace app\controller;

use plugin\admin\app\model\Good;
use support\Request;

class Goods
{
    public function detail(Request $request)
    {
        $id = $request->get('id');
        $goods = Good::where('id',$id)->first();
        dd($goods);

    }

}